package com.dm.common.enums;

/**
 * 任务类型
 *
 * @author dm
 */
public enum TaskType
{
    ONLYDEL("1", "仅删除"), ONLYCOPY("2", "仅拷贝"), COPYANDDEL("3", "拷贝并删除");

    private final String code;
    private final String info;

    TaskType(String code, String info)
    {
        this.code = code;
        this.info = info;
    }

    public String getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }
}
